home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20000217-20000824
/
000279_news@columbia.edu _Thu May 4 12:37:10 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
3KB
Return-Path: <news@columbia.edu>
Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id MAA16661
for <kermit.misc@cpunix.cc.columbia.edu>; Thu, 4 May 2000 12:37:09 -0400 (EDT)
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA10742
for <kermit.misc@watsun.cc.columbia.edu>; Thu, 4 May 2000 12:37:09 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id MAA15739
for kermit.misc@watsun.cc.columbia.edu; Thu, 4 May 2000 12:25:42 -0400 (EDT)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: fdc@columbia.edu (Frank da Cruz)
Subject: Re: Is there a way to do recursive mput in ftp?
Date: 4 May 2000 16:25:40 GMT
Organization: Columbia University
Message-ID: <8es8a4$fbp$1@newsmaster.cc.columbia.edu>
To: kermit.misc@columbia.edu
In article <39119FB9.367D398E@attglobal.net>,
Carl D. Speare <carlds@attglobal.net> wrote:
: Charles Bayley wrote:
: > I'm needing to ftp an entire directory tree from a PC to a Sun. Is there
: > anyway to do a recursive mput in ftp which will NOT prompt for each file
: > and create the subdirectories it encounters, similiar to the rcp -p
: > command to copy between Sun machines?
:
: While at the FTP prompt in PC-land, make sure you do
:
: ftp> prompt
:
: to turn the prompting off, then do
:
: ftp> mput *
:
: and you'll be in business.
:
I don't think FTP "mput" descends recursively through the directory tree.
Even if it did, I don't think most FTP servers will create directories on
the fly when receiving a group of files.
Even if a particular FTP client/server pair supported this, all files are
transferred in the same mode, text or binary. Thus either your text files
will have the wrong record format (and character set) on the Sun, or your
binary files will be corrupted.
An alternative to FTP that handles all of these tasks is Kermit:
http://www.columbia.edu/kermit/
With Kermit you can send a directory tree containing any mixture of text
and binary files to another computer, not necessarily the same platform,
and have the original tree replicated, with binary files transferred in binary
mode and text files transferred in text mode, including record-format and
character-set conversion. This works between any combination of Unix,
Windows, OS/2, VMS, and several other platforms.
For a more detailed explanation, see:
http://www.columbia.edu/kermit/case04.html
http://www.columbia.edu/kermit/case05.html
And for more Kermit case studies, see:
http://www.columbia.edu/kermit/ckermit.html#studies
- Frank